<template>
  <div>
    <!--页头-->
    <el-card class="box-card">
      <el-page-header content="商品审核"></el-page-header>
      <el-button type="primary" icon="el-icon-search" @click="onSubmit">条件筛选</el-button>
      <el-form :model="searchMap" label-width="120px">
        <el-form-item label="输入搜索：">
          <el-input v-model="searchMap.name" placeholder="商品名称/商品货号"></el-input>
        </el-form-item>
        <el-form-item label="商品分类：">
          <el-select v-model="searchMap.category1Id" placeholder="请选择商品分类">
            <el-option label="不选择" value></el-option>
            <el-option
              v-for="item in categories"
              :key="item.id"
              :label="item.name"
              :value="item.id"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="用户昵称: ">
          <el-input v-model="searchMap.name" placeholder="输入用户昵称"></el-input>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  data () {
    return {
      searchMap: {}
    }
  },
  methods: {
    onSubmit () { }
  }
}
</script>

<style  scoped>
</style>
